import {request} from "@/utils/http/request"

export const requestGetCode=(phone)=>{
    return request.get(`/api/user/passport/sendCode/${phone}`)
}
export const requestRegister=(registerInfo)=>{
    return request.post(`/api/user/passport/register`,registerInfo)
}